package com.homelink.crashhandle.util;

import android.content.Context;
import android.content.SharedPreferences;

/**
 * Created by Fcy on 2016/1/16.
 */
public class LogManager
{
	/**
	 * @param context
	 * @param ucId
	 */
	public static void setUcId(Context context, String ucId)
	{
		SharedPreferences sp = context.getSharedPreferences(
		        ConstantsUtils.HOMELINK_LOG, Context.MODE_PRIVATE);
		SharedPreferences.Editor editor = sp.edit();
		editor.putString(ConstantsUtils.UC_ID, ucId);
		editor.commit();
	}
}
